<div id="content-no-left">
  <div id="content-primary">
    <div id="product-infor">
      <h1>Thông tin sản phẩm</h1>
      <div id="product-detail">
        <div id="image"><img src="<?php echo $product->getProductImage(); ?>" width="200" height="200" /></div>
        <div id="desc">
          <h2><?php echo $product->getName(); ?></h2>
          <div class="textbold textitalic">Giá: <span><?php echo $product->getPriceWithVND(); ?></span></div>
        </div>
        <div class="clear"></div>
        <div class="textbold">Giới thiệu:</div>
        <p><?php echo $product->getIntro(); ?></p>
        <div class="textbold">Mô tả sản phẩm:</div>
        <p><?php echo html_entity_decode($product->getDetail()); ?></p>
      </div>
    </div>
    <div id="product-infor">
      <h1>COMMENT</h1>
      <?php foreach ($product->getAimProductComment() as $comment): ?>
        <div id="pcomment">
          <label><?php echo $comment->getName(); ?></label>&nbsp;&nbsp;
          <span><?php echo $comment->getEmail(); ?></span><br />
          <?php echo $comment->getContent(); ?>
        </div>
      <?php endforeach; ?>
    </div>
    <div id="product-infor">
      <h1>Bình luận</h1>
      <div id="product-comment">
        <form id="commentForm" action="<?php echo url_for("product/vote?pid=".$product->getId()); ?>" method="post">
          <fieldset>
            <p>
              <label for="cname">Họ và tên:</label>
              <em>*</em><input name="fullname" type="text" size="60" class="required" minlength="4" value=""/>
            </p>
            <p>
              <label for="cemail">Email:</label>
              <em>*</em><input name="email" type="text" size="60" class="required email" minlength="4" value=""/>
            </p>
            <p>
              <label for="ccontent">Nội dung: </label>
              <em>*</em><textarea name="content" type="text" cols="60" rows="5" class="required" minlength="4" value=""></textarea>
            </p>
            <div id="button"><input type="submit" value="Comment" /></div>
          </fieldset>
        </form>
      </div>
    </div>
  </div>
  <div id="content-right">    
    <div class="title-list">
      Sản phẩm hot
    </div>
      <?php $item = 0 ?>
      <?php foreach ($aim_products as $obj): ?>
        <?php $item ++; ?>
        <?php if ($item > sfConfig::get("app_sn_product_new")): ?>
        <?php break; endif; ?>
        <div id="item">
          <img src="<?php echo $obj->getProductImage(); ?>" width="80" height="80" />
          <div id="item-body">
            <h2><a href="<?php echo url_for('product/show?id='.$obj->getId()) ?>"><?php echo $obj->getName(); ?></a></h2>
            Giá: <span><?php echo $obj->getPriceWithVND(); ?></span>
          </div>
        </div>
      <?php endforeach; ?> 
      <div class="title-list">
        Bán hàng trực tuyến
      </div>
      <div id="yahoo">
        <a href="ymsgr:sendIM?yeunguoi_khongdoithay88">
          <img src="/images/customoffline0.gif" /><br />YahooID: yeunguoi_khongdoithay88
        </a>
      </div>
      <div class="title-list">
        Thông tin ngân hàng
      </div>
      <div id="payment">
        <img src="/images/payment.gif" /><br />
        Teckcombank: 1402. 1093. 87. 2010
      </div>
  </div>
</div> <!-- end #content-no-left-->

